package com.qcby.train.mybaitsplusdemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @className: Teacher
 * @description: 教师表
 * @author: lxt
 * @create: 2021-04-26 20:26
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    private Long id;
    private String name;
    private String number;
    private LocalDateTime createTime;

    @TableField(exist = false)
    private List<ClassInfo> classInfoList;
}
